package com.tsxy.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.tsxy.entity.Menu;
import com.tsxy.mapper.MenuMapper;
import com.tsxy.service.IMenuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 飞
 * @since 2022-02-17
 */
@Service
public class MenuServiceImpl extends ServiceImpl<MenuMapper, Menu> implements IMenuService {
    @Autowired
    private MenuMapper menuMapper;
    @Override
    public List<Menu> getAll() {
        List<Menu> list = menuMapper.getAll();
        return list;
    }
}
